package com.itheima.a01staticdemo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2024-02-04
 * Time: 22:48
 */
public class Test {
    public static void main(String[] args) {
        int[] arr1 = {1,2,3,4,5};
        String s = ArrayUtil.printArr(arr1);
        System.out.println(s);

        double[] arr2 = {1.5,3.7,4.9,5.8,6.6};
        double v = ArrayUtil.getAverage(arr2);
        System.out.println(v);

    }
}
